package com.ats.impl.tws

import com.ats.api.Connection

class ConnectionImpl(adapter: TwsAdapter) extends Connection {

  def isConnected(): Boolean = {
    return adapter.isConnected();
  }

  def connect() {
    adapter.connect();

  }

  def close() {
    adapter.close();

  }

  def disconnect() {
    adapter.disconnect();
  }
}
